Aelia\WC\Aelia_Plugin C

Total Complexity 121
Dependencies 11
Dependents 1
Total lines 1,009
Lines of code 412
Logical lines of code 205
Comment lines 455
Methods 59
Properties 16

Methods 59

Method Rating Maintainability Complexity Lines of code
validate_ajax_request()
A
51 9 27
doing_reports()
A
56 9 16
__construct()
S
58 5 16
editing_order()
S
64 6 9
get_template_file()
S
56 4 19
is_frontend()
S
57 4 16
conditional_includes()
S
60 4 14
run_updates()
S
62 4 11
set_hooks()
S
55 3 19
get_plugin_file()
S
58 3 16
register_widget()
S
63 3 11
visitor_is_bot()
S
67 3 6
get_slug()
S
68 3 7
check_for_updates()
S
63 2 11
set_paths()
S
55 1 18
url()
S
78 2 3
wordpress_loaded()
S
75 2 5
load_admin_scripts()
S
68 2 8
doing_ajax()
S
79 2 3
plugin_dir()
S
68 2 7
get_class_for_log()
S
69 2 7
cleanup()
S
74 2 5
path()
S
78 2 3
get_logger()
S
69 2 7
session()
S
72 2 6
aelia_ajax_request()
S
66 2 8
get_ajax_callback()
S
69 2 7
is_valid_ajax_command()
S
74 2 4
trigger_error()
S
63 2 10
register_plugin_admin_scripts()
S
62 1 12
register_common_frontend_scripts()
S
62 1 12
ajax_action()
S
81 1 3
ajax_nonce_id()
S
80 1 3
set_cron_schedules()
S
91 1 2
nopriv_ajax_action()
S
81 1 3
wc_aelia_afc_register_plugins_to_update()
S
82 1 3
set_main_plugin_file()
S
81 1 3
is_plugin_configured()
S
82 1 3
get_valid_ajax_commands()
S
82 1 3
register_widgets()
S
91 1 2
setup()
S
91 1 2
messages()
S
80 1 3
get_update_url()
S
80 1 3
wc()
S
81 1 3
settings_controller()
S
82 1 3
messages_controller()
S
82 1 3
instance()
S
80 1 3
plugin_path()
S
75 1 4
settings()
S
80 1 3
get_error_message()
S
80 1 3
load_frontend_scripts()
S
91 1 2
set_urls()
S
62 1 10
factory()
S
78 1 3
plugins_loaded()
S
78 1 3
woocommerce_loaded()
S
91 1 2
log()
S
71 1 6
rendering_plugin_admin_page()
S
82 1 3
register_common_admin_scripts()
S
91 1 2
debug_mode()
S
78 1 3